package main

import (
	"fmt"
	"github.com/kataras/iris/v12"
	"github.com/kataras/iris/v12/mvc"
	"gowork/appointmentConsultation/controller"
	"gowork/appointmentConsultation/utils"
)

func main()  {
	w := new(utils.Worker)
	fmt.Println(w.GetId())

	app := iris.New()
	mvc.New(app).Handle(new(controller.AppointmentController))

	fmt.Println("启动。。。。。。。")
	app.Run(iris.Addr(":9308"))
}

